module.exports = require('./PageMaintain');
import { Route } from 'react-keeper'
const PageMaintaintable = require('./subpages/maintaintable')
const Faultreport = require('./subpages/faultreport')
const Faulthandle = require('./subpages/faulthandle')
const Faultarrange = require('./subpages/faultarrange')
const Faultfeedback = require('./subpages/faultfeedback')

const PageMaintain = {
    page: require('./PageMaintain'),
    route: () => {
        return (<Route  path='/maintenance' component={Maintain} />
           )
    }
}
const Maintain = () => {
    return (
        <div>
            <Route  index component={PageMaintain.page} />
            <Route  path='/maintaintable' component={PageMaintaintable} />
            <Route  path='/faultreport' component={Faultreport} />
            <Route  path='/faulthandle' component={Faulthandle} />
            <Route  path='/faultarrange' component={Faultarrange} />
            <Route  path='/faultfeedback' component={Faultfeedback} />
        </div>)
}
export default PageMaintain;
